package org.dubbo.live.common.interfaces.controller;

import jakarta.annotation.Resource;
import org.dubbo.live.common.interfaces.service.ImService;
import org.dubbo.live.common.interfaces.vo.WebResponseVO;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description: //todo
 * @Author: 张广焱
 * @Date: 2024-06-12 下午8:36
 */
@RestController
@RequestMapping("/im")
public class ImController {
    @Resource
    private ImService imService;
    //im地址
    //token
    @PostMapping("/getImConfig")
    public WebResponseVO getImConfig() {
        return WebResponseVO.success(imService.getImConfig());
    }

}
